package com.badibadi.fragment;

import android.os.Bundle;
import android.os.Handler;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import com.badibadi.uniclubber.R;
import com.libjph.custom.xlistview.XListView;
import com.libjph.custom.xlistview.XListView.XListViewListener;

public class IndexClub2Fragment extends BaseFragment implements XListViewListener {
	// private XListView1Adapter x1Adapter;
	private XListView xListView1;

	private Handler mHandler;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		// x1Adapter = new XListView1Adapter();
		mHandler = new Handler();
	}

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		// TODO Auto-generated method stub

		View view = inflater.inflate(R.layout.after_landing_friends00_2, null);
		InitMyXListView1(view);
		return view;
	}

	public void InitMyXListView1(View view) {
		xListView1 = (XListView) view
				.findViewById(R.id.after_landing_friends00_xlistView_2);
		xListView1.setXListViewListener(this);
		xListView1.setPullLoadEnable(true);
		xListView1.setPullRefreshEnable(true);
		// xListView1.startRefresh();
	}

	@Override
	public void onListViewRefresh() {
		// TODO Auto-generated method stub

	}

	@Override
	public void onListViewLoadMore() {
		// TODO Auto-generated method stub

	}
}